﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="UploadPage.aspx.cs" Inherits="UploadPage" %>

<%@ Register Src="~/UserControl/UploadPreview.ascx" TagPrefix="uc1" TagName="UploadPreview" %>



<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
  
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    <style>
        /*css測試區*/
        .AllBigWaHaHa{
            opacity:0;
        }
        #keyword {
                        display:none;
                    }
    </style>


    <div class="upload-page-container AllBigWaHaHa">
        <%--VVV遮罩VVV--%>
        <div id="Shade" style="width:100%;height:1000px;z-index:1000;position:absolute;cursor:progress"></div>
        <div class="upload-page-content" style="z-index:1">
            <div class="upload-page-tile">
                  <h4>&nbsp;<i class="glyphicon glyphicon-share"></i>&nbsp;<strong>分享我的UBOX</strong></h4>
            </div>
            <div class="upload-ubox-cate">
                <div class="upload-select-container">
                     <select id="CategorySelect" name="CategorySelect" class="form-control upload-ubox-select" title="選擇種類">
                        <option selected="selected" value="-1">種類</option>
                    </select>
                    <select id="BrandSelect" name="BrandSelect" class="form-control upload-ubox-select" title="選擇品牌">
                        <option selected="selected" value="-1">品牌</option>
                    </select>
                    <select id="ProductSelect" name="ProductSelect" class="form-control upload-ubox-select" title="選擇型號">
                        <option selected="selected" value="-1">型號</option>
                    </select>
                </div>
            </div>
            <div class="upload-ubox-cover">
                
                <div class="span-title">
                    <span class="nbsp">標題</span>
                </div>
                <%--<input id="TitleTxt" name="TitleTxt" type="text" class="form-control txt-title" />
                <button id="btnUploadTitlePage" type="button" class="btn btn-danger btn-upload-img">上傳封面</button>
                <input type="text" class="form-control txt-img" disabled="disabled" />--%>
                <input id="TitleTxt" name="TitleTxt" type="text" class="form-control txt-title" maxlength="20" title="不可包含&gt;與&lt;，字數限制為20個字。"/>
                <%--<div style="width:50%;display:inline-block;height:23px">--%>
                    <button id="btnUploadTitlePage" type="button" class="btn btn-danger btn-upload-img" style="z-index:10;width:87px;height:40px;">上傳封面</button>
                    <input readonly="true" id="TitleImgPathTemp" name="TitleImgPathTemp" type="text" class="form-control txt-img" style="z-index:1;margin-left:-10px" title="圖片寬高比例建議為1:2，類型為jpeg，最大為200kB。"/>
                    <input type="file" name="TitleImg" accept="image/*" id="eleUploadTitlePage"  style="display:none" title="圖片長寬比例為1:2，類型為jpeg，最大為200kB。"/>
                <%--</div>--%>
            </div>
            <div class="editor-container">
                <div class="editor" style="background-color:white;">
                    <%--ckEditor--%>
                    <script src="packages/ckeditor/ckeditor.js"></script>
                    <%--<script src="packages/ckeditor/ckeditor_respond.js"></script>--%>
                    <textarea id="TextBox1" class="ckeditor"></textarea>
                    <input type="text" name="Txt" value="" id="Txt" readonly="true" style="display:none"/>
                    <input type="text" name="Uid" value="" id="Uid" readonly="true" style="display:none"/>
                    <input type="text" name="Aid" value="" id="Aid" readonly="true" style="display:none"/>
                    <input type="text" name="Page" value="" id="Page" readonly="true" style="display:none"/>
                    <input type="text" name="ActionSwitch" value="" id="ActionSwitch" readonly="true" style="display:none"/>
                </div>
            </div>
            <div class="upload-btns-container">
                <div class="upload-btns">
                    <%--<button id="btnPreview" type="button" class="btn btn-success">預覽</button>
                    <button type="button" class="btn btn-default">取消</button>
                    <button type="submit" class="btn btn-danger">送出</button>--%>
                    <button id="btnPreview" type="button" class="btn btn-success" title="預覽">預覽</button>
                    <button id="btnSubmit" type="button" class="btn btn-danger" title="送出">送出</button><%--type看要用submit還是button--%>
                    <button id="btnCancel" type="button" class="btn btn-default" title="取消">取消</button>
                </div>
            </div>
        </div>
    </div>

    <uc1:UploadPreview runat="server" ID="UploadPreview" />
    
    <%--客製參考--%>
    <link href="Content/UploadPage.css" rel="stylesheet" />
    <script src="Scripts/UploadPage.js"></script>

    <script>
        
    </script>
    <%--客製參考--%>

    <script>
            //js測試區
    </script>

</asp:Content>

